package print;

import java.awt.Graphics;
import java.awt.print.PageFormat;
import java.awt.print.Printable;
import java.awt.print.PrinterException;

/*
 * Stephan:  I will take care of this class (unless someone else really
 * 			 wants to); I've had some experience with Java's printing 
 */

/**
 * Represents a page that can be printed.
 * 
 * @author Stephan
 */
public class Page implements Printable
{

	/** (non-Javadoc)
	 * @see java.awt.print.Printable#print(java.awt.Graphics, java.awt.print.PageFormat, int)
	 */
	@Override
	public int print(Graphics g, PageFormat format, int pageIndex)
			throws PrinterException
	{
		// TODO Implement print
		return 0;
		/* 
		 * returns
		 * Printable.NO_SUCH_PAGE if pageIndex is a non-existent page
		 * Printable.PAGE_EXISTS if the page is rendered successfully
		 */

	}

}
